package com.witmed.dao;

import java.util.List;

/**
 * 科室表
 * 
 * @author chenxiangyang
 *
 */
import com.witmed.entity.Department;
import com.witmed.entity.Hospital;

public interface DepartmentDao {
	/**
	 * 插入科室信息
	 * 
	 * @param department
	 * @return
	 */
	int insertDepartment(Department department);

	/**
	 * 根据医院id查询科室
	 * 
	 * @param DoctorId
	 * @return
	 */

	List<Department> getfindByDoctorId(Hospital hospitalId);

	/**
	 * 根据医院id删除科室
	 * 
	 * @param hospitalId
	 * @return
	 */
	int deleteByDepartmentId(int hospitalId);
}
